Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some phpstan findings #124

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

SpacePossum
Copy link
Contributor

@SpacePossum SpacePossum commented Jul 3, 2024

Mostly adding array shapes to the utest dataproviders, nothing major.

@@ -368,7 +385,6 @@ public function testSplitStringByLines(array $expected, string $input): void
{
$reflection = new ReflectionObject($this->differ);
$method = $reflection->getMethod('splitStringByLines');
$method->setAccessible(true);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-op since PHP8.1

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.29%. Comparing base (367ce91) to head (dd8686b).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #124   +/-   ##
=========================================
  Coverage     99.29%   99.29%           
  Complexity      210      210           
=========================================
  Files            12       12           
  Lines           569      569           
=========================================
  Hits            565      565           
  Misses            4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sebastianbergmann sebastianbergmann merged commit da621b8 into sebastianbergmann:main Jul 3, 2024
7 checks passed
@SpacePossum SpacePossum deleted the stan branch July 3, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants